package com.shuke.medical.insure.model.convert;

import com.shuke.medical.insure.model.vo.*;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author woo hua
 * @date 2023-04-04 15:27:29
 * @description 医保基础信息转换类
 */

@Mapper(componentModel = "spring", unmappedSourcePolicy = ReportingPolicy.IGNORE, unmappedTargetPolicy = ReportingPolicy.IGNORE )
public interface ChsBaseInfoConvert {

    /**
     * 使用工厂方法获取Mapper实例
     */
    ChsBaseInfoConvert INSTANCE = Mappers.getMapper(ChsBaseInfoConvert.class);

    /**
     * vos 转 vos
     * @author woo hua
     * @date 2023-04-04 15:27:29
     * @param vos
     * @return
     */
    List<GetChsPersonBaseInfoNoAnnotateVO> toVos(List<GetChsPersonBaseInfoVO> vos);
    /**
     * vos 转 vos
     * @author woo hua
     * @date 2023-04-04 15:27:29
     * @param vos
     * @return
     */
    List<GetChsPersonDetailedNoAnnotateVO> toVos2(List<GetChsPersonDetailedVO> vos);
    /**
     * vos 转 vos
     * @author woo hua
     * @date 2023-04-04 15:27:29
     * @param vos
     * @return
     */
    List<GetChronicDiseaseRecordNoAnnotateVO> toVos3(List<GetChronicDiseaseRecordVO> vos);

}
